﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BanHangWPF.Model
{
    public class Hang
    {
        public String MaHang { get; set; }
        public String TenHang { get; set; }
        public String DonViHop { get; set; }
        public String DonViVien { get; set; }
        public int SoLuongVien { get; set; }
        public String NhomHang { get; set; }
        public String MoTaThem { get; set; }
        public String TimeCreate { get; set; }
        public String TimeSend { get; set; }

        public Hang() { }
        public Hang(String mahang, String tenhang, String donvihop, String donvivien, 
            int soluongvien, String nhomhang, String motathem)
        {
            MaHang = mahang;
            TenHang=tenhang;
            DonViHop=donvihop;
            DonViVien=donvivien;
            SoLuongVien=soluongvien;
            NhomHang=nhomhang;
            MoTaThem = motathem;
        }
        public Hang(String mahang, String tenhang, String donvihop, String donvivien,
            int soluongvien, String nhomhang, String motathem, String timecreate, String timesend)
        {
            MaHang = mahang;
            TenHang = tenhang;
            DonViHop = donvihop;
            DonViVien = donvivien;
            SoLuongVien = soluongvien;
            NhomHang = nhomhang;
            MoTaThem = motathem;
            TimeCreate = timecreate;
            TimeSend = timesend;
        }
    }
}
